Add file-a-bug functionality on errors
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
When snapcraft hits an error it would be nice if we could allow the user to file a new issue to the bug-tracker with a back-trace collected automatically, similar to the `ubuntu-bug` command on Ubuntu derivatives.
Two suggestions which could be considered:
1) add a new flag `--create-bug` (wording can be changed) which will run snapcraft and when it hits a failure it raises a new issue automatically.
or
2) add a prompt when snapcraft hits a failure to allow the user to choose to file a bug with a message similar to: "Snapcraft encountered an error. Would you like to create a bug in the issue tracker? (Y/n)" This could be silenced with a `--non-interactive` flag or `--quiet` for CI builders.
--
Bonus points in either case for automatically detecting duplicate situations and directing the user to an already filed bug when they have the same problem as one already raised so that they may click "me too".
Evaluation history
No evaluation history available.